import request from "../request"
// 新增风险模型
export function addRiskModel(data){
  return request({
    url: "/car/risk/v/model/add",
    method: "post",
    data:data,
  });
}
// 修改风险模型
export function updateRiskModel(data){
  return request({
    url: "/car/risk/v/model/upt",
    method: "post",
    data:data,
  });
}
// 风险模型管理列表
export function getRiskModelQuery(data){
  return request({
    url: "/car/risk/v/model/query",
    method: "get",
    params:data,
  });
}
// 风险模型详情
export function getRiskModelDetail(data){
  return request({
    url: "/car/risk/v/model/detail",
    method: "get",
    params:data,
  });
}
// 风险模型删除
export function deleteRiskModel(data){
  return request({
    url: "/car/risk/v/model/delete",
    method: "get",
    params:data,
  });
}
// 启用风险模型
export function startRiskModel(data){
  return request({
    url: "/car/risk/v/model/start",
    method: "post",
    data:data,
  });
}
// 停用风险模型
export function stopRiskModel(data){
  return request({
    url: "/car/risk/v/model/stop",
    method: "post",
    data:data,
  });
}
